<%@page contentType="text/html; charset=utf-8"%>
<%@ include file="../inc/TagLibs.jsp"%>
<c:set var="pageTitle" value="选择联系人" />
<%@ include file="../inc/Title.jsp"%>
<head>
<link rel="stylesheet" type="text/css" href="/css/base.css" />
<script language="javascript">
	function doReturn(){
		var arr=new Array();
		var a;
		<c:set var="index" value="0" />
		<c:forEach var="item" items="${contactList}" varStatus="i">
			<c:if test="${fn:length(item.mobile)==11}">
			a=new Array();
			a[0]="${fn:replace(fn:replace(item.contactName,'\\','\\\\'),'\"','\\\"')}";
			a[1]="${fn:replace(fn:replace(item.mobile,'\\','\\\\'),'\"','\\\"')}";
			arr[${index}]=a;
			<c:set var="index" value="${index+1}" />
			</c:if>
		</c:forEach>
		if(arr.length>0){
			parent.popRetVal=arr;
		}
		parent.ClosePop();
	}
</script>
</head>
<body oncontextmenu="return false" onload="doReturn();">
<table width="100%" height="100%" border="0" cellpadding="1" cellspacing="1">
	<tr>
		<td align="center">请稍候...</td>
	</tr>
</table>
</body>
</html>